package com.mall.exception;
/**
 * 自定义异常
 * @author huang
 *
 */
@SuppressWarnings("serial")
public class MyException extends Exception {
	private String message;

	public MyException(String message) {
		//调用父类方法
		super(message);
		this.message = message;
	};

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
